home *** CD-ROM | disk | FTP | other *** search
/ Programming Microsoft Visual Basic .NET / Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin / 17 controls / databindingdemo / dsbiblio.xsd < prev    next >
Text File  |  2001-10-21  |  1KB  |  29 lines

  1. <xsd:schema id="dsBiblio" targetNamespace="http://www.tempuri.org/dsBiblio.xsd" xmlns="http://www.tempuri.org/dsBiblio.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
  2.     <xsd:element name="dsBiblio" msdata:IsDataSet="true">
  3.         <xsd:complexType>
  4.             <xsd:choice maxOccurs="unbounded">
  5.                 <xsd:element name="Publishers">
  6.                     <xsd:complexType>
  7.                         <xsd:sequence>
  8.                             <xsd:element name="Address" type="xsd:string" minOccurs="0" />
  9.                             <xsd:element name="City" type="xsd:string" minOccurs="0" />
  10.                             <xsd:element name="Comments" type="xsd:string" minOccurs="0" />
  11.                             <xsd:element name="Company_x0020_Name" type="xsd:string" minOccurs="0" />
  12.                             <xsd:element name="Fax" type="xsd:string" minOccurs="0" />
  13.                             <xsd:element name="Name" type="xsd:string" minOccurs="0" />
  14.                             <xsd:element name="PubID" msdata:AutoIncrement="true" type="xsd:int" />
  15.                             <xsd:element name="State" type="xsd:string" minOccurs="0" />
  16.                             <xsd:element name="Telephone" type="xsd:string" minOccurs="0" />
  17.                             <xsd:element name="Zip" type="xsd:string" minOccurs="0" />
  18.                         </xsd:sequence>
  19.                     </xsd:complexType>
  20.                 </xsd:element>
  21.             </xsd:choice>
  22.         </xsd:complexType>
  23.         <xsd:unique name="Constraint1" msdata:PrimaryKey="true">
  24.             <xsd:selector xpath=".//Publishers" />
  25.             <xsd:field xpath="PubID" />
  26.         </xsd:unique>
  27.     </xsd:element>
  28. </xsd:schema>
  29.